package com.mixsmart.commonweb.bean;

import java.util.List;

/**
 * 树形结构对象
 * @author lmq
 * @version 1.0
 * @since 1.0
 * 2015年11月4日
 * @param <T>
 */
public class BaseTree<T extends IBaseTreeBean > {

	private T treeBean;
	
	private List<? extends BaseTree<T>> childs;
	
	/**
	 * 是否有子节点
	 * 1--有
	 * 0--无
	 */
	private int isChild;

	public List<? extends BaseTree<T>> getChilds() {
		return childs;
	}

	public void setChilds(List<? extends BaseTree<T>> childs) {
		this.childs = childs;
	}

	public int getIsChild() {
		return isChild;
	}

	public void setIsChild(int isChild) {
		this.isChild = isChild;
	}

	public T getTreeBean() {
		return treeBean;
	}

	public void setTreeBean(T treeBean) {
		this.treeBean = treeBean;
	}
	
}
